<template>
	<view class="result">
		<zhu-nav-bar title="处理结果" bgColor="#3989FF" leftColor="#fff" sizeColor="#fff"></zhu-nav-bar>
		<view class="result-plate-1">
			<page-state :title="is_result==0? '同意退款':'已拒绝'" :desc="is_result==0? '退款金额已原路返还':'拒绝原因：商品已发货'"></page-state>
		</view>
		<view class="result-plate-2">
			<order-address address="陆** 186****1231 河南省郑州市金水区花北路省直花园小区1单号楼1单元111" code="000000"></order-address>
			<view class="borderBtm">
				<view class="border-solid">
				</view>
			</view>
			<zhu-reason applyFor="不想要了" refuseInfo="不想要了"></zhu-reason>
		</view>
		<view class="result-plate-3">
			<order-goods :goodsImgUrl="require('@/static/img/financial/financial-top-bg.png')" goodsName="babycare儿童点读笔通用英语学习
			点读机幼儿小孩早教故事机益智"
			 goodsDesc="点读笔16G+5张挂卡+16本书" goodsPrice="339.00" goodsNum="1"></order-goods>
			<order-pay-price goodsNum="1" goodsPrice="339.00" :is_border="false"></order-pay-price>
		</view>
		<view class="result-plate-4">
			<order-info orderCode="15654152456" foundTime="2020-12-14 16:58:32" payTime="2020-12-14 16:58:32" orderAddress="河南郑州电信ADSL" :is_delivery="false"></order-info>
		</view>
	</view>
</template>

<script>
	import zhuNavBar from '@/pages/components/zhuNavBar.vue'
	import orderAddress from '@/pages/components/orderAddress.vue'
	import orderGoods from '@/pages/components/orderGoods.vue'
	import orderPayPrice from '@/pages/components/orderPayPrice.vue'
	import orderInfo from '@/pages/components/orderInfo.vue'
	import zhuReason from '@/pages/components/reason.vue'
	import pageState from '@/pages/components/pageState.vue'
	export default {
		data() {
			return {
				is_result:Number
			};
		},
		components:{
			zhuNavBar,
			orderAddress,
			orderGoods,
			orderPayPrice,
			orderInfo,
			zhuReason,
			pageState
		},
		onLoad(options) {
			this.is_result = options.is_result
		}
	}
</script>

<style lang="scss" scoped>
.result{
	width: 100vw;
	min-height: 100vh;
	background-color: #F9F9F9;
	.result-plate-1{
		background-color: #3989FF;
		padding-top: $hegiht-top;
	}
	.salesReturn-plate-3 {
		margin-top: 30rpx;
		padding-top: 30rpx;
		background-color: #fff;
	}
	
	.salesReturn-plate-4 {
		margin-top: 30rpx;
	}
}
</style>
